Autogenerated HTML docs for v1.5.0.2-273-g8ab3
diff --git a/git-show.html b/git-show.html index b6d7bad..af78351 100644 --- a/git-show.html +++ b/git-show.html
@@ -429,8 +429,154 @@ true parent commits, without taking grafts nor history simplification into account.</p> </li> +<li> +<p> +<em>format:</em> +</p> +<p>The <em>format:</em> format allows you to specify which information +you want to show. It works a little bit like printf format, +with the notable exception that you get a newline with <em>%n</em> +instead of <em>\n</em>.</p> +</li> </ul> </dd> +</dl> +<p>E.g, <em>format:"The author of %h was %an, %ar%nThe title was >>%s<<"</em> +would show something like this:</p> +<p>The author of fe6e0ee was Junio C Hamano, 23 hours ago +The title was >>t4119: test autocomputing -p<n> for traditional diff input.<<</p> +<p>The placeholders are:</p> +<ul> +<li> +<p> +<em>%H</em>: commit hash +</p> +</li> +<li> +<p> +<em>%h</em>: abbreviated commit hash +</p> +</li> +<li> +<p> +<em>%T</em>: tree hash +</p> +</li> +<li> +<p> +<em>%t</em>: abbreviated tree hash +</p> +</li> +<li> +<p> +<em>%P</em>: parent hashes +</p> +</li> +<li> +<p> +<em>%p</em>: abbreviated parent hashes +</p> +</li> +<li> +<p> +<em>%an</em>: author name +</p> +</li> +<li> +<p> +<em>%ae</em>: author email +</p> +</li> +<li> +<p> +<em>%ad</em>: author date +</p> +</li> +<li> +<p> +<em>%aD</em>: author date, RFC2822 style +</p> +</li> +<li> +<p> +<em>%ar</em>: author date, relative +</p> +</li> +<li> +<p> +<em>%at</em>: author date, UNIX timestamp +</p> +</li> +<li> +<p> +<em>%cn</em>: committer name +</p> +</li> +<li> +<p> +<em>%ce</em>: committer email +</p> +</li> +<li> +<p> +<em>%cd</em>: committer date +</p> +</li> +<li> +<p> +<em>%cD</em>: committer date, RFC2822 style +</p> +</li> +<li> +<p> +<em>%cr</em>: committer date, relative +</p> +</li> +<li> +<p> +<em>%ct</em>: committer date, UNIX timestamp +</p> +</li> +<li> +<p> +<em>%e</em>: encoding +</p> +</li> +<li> +<p> +<em>%s</em>: subject +</p> +</li> +<li> +<p> +<em>%b</em>: body +</p> +</li> +<li> +<p> +<em>%Cred</em>: switch color to red +</p> +</li> +<li> +<p> +<em>%Cgreen</em>: switch color to green +</p> +</li> +<li> +<p> +<em>%Cblue</em>: switch color to blue +</p> +</li> +<li> +<p> +<em>%Creset</em>: reset color +</p> +</li> +<li> +<p> +<em>%n</em>: newline +</p> +<dl> <dt> --encoding[=<encoding>] </dt> @@ -444,6 +590,8 @@ </p> </dd> </dl> +</li> +</ul> </div> <h2>EXAMPLES</h2> <div class="sectionbody"> @@ -578,7 +726,7 @@ </div> <div id="footer"> <div id="footer-text"> -Last updated 28-Feb-2007 08:13:34 UTC +Last updated 02-Mar-2007 10:34:23 UTC </div> </div> </body>